import request from '../utils/request';

export const fetchDataCustom = customParam => {
    return request(customParam);
};

export const getJdPostData = query => { //（社区上报到街道数据）
    return request({
        url: '/verfication/task/block/quarter/page-list',
        method: 'post',
        data: query.data
    });
};
export const getJdMzPostData = query => { //（街道上报到民政数据）
    return request({
        url: '/verfication/task/block2/quarter/page-list',
        method: 'post',
        data: query.data
    });
};

export const getMzPostData = query => { //民政调用
    return request({
        url: '/verfication/task/civil/quarter/page-list',
        method: 'post',
        data: query.data
    });
};

export const getSqPostData = query => { //社区调用
    return request({
        url: '/verfication/task/community/quarter/page-list',
        method: 'post',
        data: query.data
    });
};

export const exportExc = query => { //街道调用
    return request({
        url: '/verfication/task/exportBlock',
        method: 'post',
        data: query,
        responseType: 'blob'
    });
};


